package com.inspur.neoinput.neo4j.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.inspur.neoinput.neo4j.entity.NormalizeTerm;
import com.inspur.neoinput.neo4j.mapper.NormalizeTermMapper;
import com.inspur.neoinput.neo4j.service.NormalizeTermService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author Mr.wang
 * @since 2021-03-04
 */
@Service
public class NormalizeTermServiceImpl extends ServiceImpl<NormalizeTermMapper, NormalizeTerm> implements NormalizeTermService {

    @Autowired
    private NormalizeTermMapper normalizeTermMapper;

    @Override
    public List<Map<String, String>> getNodeAndLable() {
        return normalizeTermMapper.getNodeAndLable();
    }

    @Override
    public List<Map<String, String>> getTypeAndRel() {
        return normalizeTermMapper.getTypeAndRel();
    }

    @Override
    public List<String> getGroupId() {
        return normalizeTermMapper.getGroupId();
    }
}
